

//
//  NBaobiaoCell.m
//  nncloud
//
//  Created by macfai on 2018/12/20.
//  Copyright © 2018 macfai. All rights reserved.
//

#import "NBaobiaoCell.h"

@implementation NBaobiaoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = 0;
    // Initialization code
}

-(void)setIndustryBaobiaoModel:(NIndustyBaobiaoModel *)industryBaobiaoModel{
    _industryBaobiaoModel = industryBaobiaoModel;
    self.atitleLabel.text = industryBaobiaoModel.industryName;
    self.qiyeNameLabel.text = industryBaobiaoModel.enterpriseName;
    self.timeLabel.text = industryBaobiaoModel.industryYear;
    //0待提交   1待审核  2已审核
    NSInteger sss =  [industryBaobiaoModel.industryStatus integerValue];
    if (sss==0) {
        self.statusLabel.text = @"待提交";
    }else if (sss==1){
        self.statusLabel.text = @"待审核";
    }else{
        self.statusLabel.text = @"已审核";
    }
    
}

-(void)setCaiwuBaobiaoModel:(NIndustyBaobiaoModel *)caiwuBaobiaoModel{
    _caiwuBaobiaoModel = caiwuBaobiaoModel;
    self.atitleLabel.text = caiwuBaobiaoModel.financeName;
    self.qiyeNameLabel.text = caiwuBaobiaoModel.enterpriseName;
    self.timeLabel.text = caiwuBaobiaoModel.financeYear;
    //    if ([caiwuBaobiaoModel.financeStatus isEqualToString:@"0"]) {
    //        self.stateLabel.text = @"待审核";
    //    }
    NSInteger sss =  [caiwuBaobiaoModel.financeStatus integerValue];
    if (sss==0) {
        self.statusLabel.text = @"待提交";
    }else if (sss==1){
        self.statusLabel.text = @"待审核";
    }else{
        self.statusLabel.text = @"已审核";
    }
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
